#ifndef __SUBSYSTEM_BED_WARS_ROT_BLOCK_BEHAVIOR_H__
#define __SUBSYSTEM_BED_WARS_ROT_BLOCK_BEHAVIOR_H__

#include "Subsystems/BlockBehaviors/SubsystemRotBlockBehavior.h"

using namespace PocketSurvival;

namespace BedWars
{
    // 用于起床战争关闭食物腐烂
    class SubsystemBedWarsRotBlockBehavior : public PocketSurvival::SubsystemRotBlockBehavior
    {
    protected:
        virtual void handleInventory(IInventory *inventory, int32_t damageCount) override;

    public:

        virtual void onPoll(int32_t value, int32_t x, int32_t y, int32_t z) override;
        virtual void update(float dt) override;
    };
}

#endif
